package com.ha.garbage.service;

import com.ha.garbage.model.News;
import com.ha.garbage.model.Result;

import java.util.List;

import retrofit2.Call;
import retrofit2.http.GET;

public interface NewsService {

    @GET("news")
    Call<Result<List<News>>> getNews();
}
